"""
WebSocket路由配置
用于Django Channels的WebSocket URL路由
"""
from django.urls import re_path

from category import consumers

websocket_urlpatterns = [
    # WebSocket连接路径：ws://host/category/ws/
    re_path(r'ws/category/$', consumers.CategoryConsumer.as_asgi()),
]

